var express = require('express')
   ,router = express.Router()

router.get('/',(req,res) => {
    res.json({
        data: 'fuck'
    })
})

router.get('/session',(req,res) => {
    console.log('params: '+JSON.stringify(req.query))
    console.log('sessionId: '+JSON.stringify(req.session.id))

    res.end()
})

module.exports = router